package com.jdj.framework.core.base.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.io.Serializable;
import java.util.Date;

/**
 * BaseVo父类,支持spring mvc 框架的反序列化,忽略页面端提交了没有的字段
 * @author caijinbang
 * @date 2019-04-14 13:46
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class BaseVo implements Serializable {

    private static final long serialVersionUID = -3005970886410841676L;

    /**
     * 实体主键
     */
    protected String id;

    /**
     * 创建时间
     */
    protected Date createTime;

    /**
     * 创建人
     */
    protected Long createUserId;

    /**
     * 更新时间
     */
    protected Date updateTime;

    /**
     * 更新人
     */
    protected Long updateUserId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }
}
